package com.example.elemboot.Dao;

import com.example.elemboot.Entity.Business;
import com.example.elemboot.Entity.Food;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IFood extends CrudRepository<Food,Integer> {
    List<Food> findFoodsByBusinessEquals(Business business);
}
